﻿
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutMain.cshtml";
}

<div class="page-content">
    <div class="page-heading" style="">
        <h1>主页</h1>
        <div class="options">
            <div class="btn-toolbar">
                <a href="#" class="btn btn-default"><i class="fa fa-fw fa-cog"></i></a>
            </div>
        </div>
    </div>
    <!-- <ol class="breadcrumb">

    <li class="active"><a href="index.html">Home</a></li>

                                </ol> -->
    <div class="container-fluid">
        <div id="panel-advancedoptions">
            <div class="row">
                <div class="col-md-3">
                    <a class="info-tiles tiles-inverse has-footer" href="#">
                        <div class="tiles-heading">
                            <div class="pull-left">隐患总数</div>
                            <div class="pull-right">
                                <div id="tileorders" class="sparkline-block"></div>
                            </div>
                        </div>
                        <div class="tiles-body">
                            <div class="text-center">1,249</div>
                        </div>
                        <div class="tiles-footer">
                            <div class="pull-left">同比增长</div>
                            <div class="pull-right percent-change">+20.7%</div>
                        </div>
                    </a>
                </div>
                <div class="col-md-3">
                    <a class="info-tiles tiles-green has-footer" href="#">
                        <div class="tiles-heading">
                            <div class="pull-left">按时整改</div>
                            <div class="pull-right">
                                <div id="tilerevenues" class="sparkline-block"></div>
                            </div>
                        </div>
                        <div class="tiles-body">
                            <div class="text-center">1023</div>
                        </div>
                        <div class="tiles-footer">
                            <div class="pull-left"></div>
                            <div class="pull-right percent-change">+17.2%</div>
                        </div>
                    </a>
                </div>
                <div class="col-md-3">
                    <a class="info-tiles tiles-blue has-footer" href="#">
                        <div class="tiles-heading">
                            <div class="pull-left">整改中</div>
                            <div class="pull-right">
                                <div id="tiletickets" class="sparkline-block"></div>
                            </div>
                        </div>
                        <div class="tiles-body">
                            <div class="text-center">42</div>
                        </div>
                        <div class="tiles-footer">
                            <div class="pull-left">see all tickets</div>
                            <div class="pull-right percent-change">+10.3%</div>
                        </div>
                    </a>
                </div>

                <div class="col-md-3">
                    <a class="info-tiles tiles-orange has-footer" href="#">
                        <div class="tiles-heading">
                            <div class="pull-left">过期未完成</div>
                            <div class="pull-right">
                                <div id="tilemembers" class="sparkline-block"></div>
                            </div>
                        </div>
                        <div class="tiles-body">
                            <div class="text-center">7</div>
                        </div>
                        <div class="tiles-footer">
                            <div class="pull-left">manage members</div>
                            <div class="pull-right percent-change">-11.1%</div>
                        </div>
                    </a>
                </div>
            </div>


            <div class="row">
                <div class="col-md-12 bs-grid">
                    <div class="panel panel-default panel-btn-focused" id="p1" data-widget-editbutton="false">
                        <div class="panel-heading">
                            <h2>
                                <ul class="nav nav-tabs">
                                    <li class="active"><a href="#tab-visitor" data-toggle="tab"><i class="fa fa-user visible-xs"></i><span class="hidden-xs">整改率趋势</span></a></li>
                                    <li><a href="#tab-revenues" data-toggle="tab"><i class="fa fa-bar-chart-o visible-xs"></i><span class="hidden-xs">每月隐患数量趋势</span></a></li>
                                </ul>
                            </h2>
                        </div>
                        <div class="panel-colorbox" style="display: none">
                            <ul class="list-unstyled list-inline panel-color-list">
                                <li><span data-widget-setstyle="panel-default"></span></li>
                                <li><span data-widget-setstyle="panel-inverse"></span></li>
                                <li><span data-widget-setstyle="panel-primary"></span></li>
                                <li><span data-widget-setstyle="panel-success"></span></li>
                                <li><span data-widget-setstyle="panel-warning"></span></li>
                                <li><span data-widget-setstyle="panel-danger"></span></li>
                                <li><span data-widget-setstyle="panel-info"></span></li>
                                <li><span data-widget-setstyle="panel-brown"></span></li>
                                <li><span data-widget-setstyle="panel-indigo"></span></li>
                                <li><span data-widget-setstyle="panel-orange"></span></li>
                                <li><span data-widget-setstyle="panel-midnightblue"></span></li>
                                <li><span data-widget-setstyle="panel-sky"></span></li>
                                <li><span data-widget-setstyle="panel-magenta"></span></li>
                                <li><span data-widget-setstyle="panel-purple"></span></li>
                                <li><span data-widget-setstyle="panel-green"></span></li>
                                <li><span data-widget-setstyle="panel-grape"></span></li>
                            </ul>
                        </div>
                        <div class="panel-body">
                            <div class="tab-content">
                                <div class="clearfix">
                                    <button class="btn btn-default pull-left" id="daterangepicker2">
                                        <i class="fa fa-calendar visible-xs"></i>
                                        <span class="hidden-xs" style="text-transform: uppercase;"><?php echo date("F j, Y", strtotime('-30 day')); ?> - <?php echo date("F j, Y"); ?></span> <b class="caret"></b>
                                    </button>

                                    <div class="btn-toolbar pull-right">
                                        <div class="btn-group">
                                            <a href='#' class="btn btn-default dropdown-toggle" data-toggle='dropdown'><i class="fa fa-cloud-download visible-xs"></i><span class="hidden-xs">Export as </span> <span class="caret"></span></a>
                                            <ul class="dropdown-menu">
                                                <li><a href="#">Text File (*.txt)</a></li>
                                                <li><a href="#">Excel File (*.xlsx)</a></li>
                                                <li><a href="#">PDF File (*.pdf)</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                                <div id="tab-visitor" class="tab-pane active">
                                    <div id="visitors-stats" style="height:250px;" class="demo-graph graph-1"></div>
                                </div>
                                <div id="tab-revenues" class="tab-pane">
                                    <div id="revenues-stats" style="height: 250px;" class="demo-graph graph-2"></div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6 bs-grid">
                    <div class="row">
                       
                    
                        <div class="col-md-12 bs-grid">
                            <div class="panel panel-default panel-btn-focused" id="p4">
                                <div class="panel-heading">
                                    <h2>隐患截止日历</h2>
                                    <div class="panel-ctrls">

                                    </div>
                                </div>
                                <div class="panel-editbox" style="display: none">
                                    <div class="form-horizontal">
                                        <div class="form-group">
                                            <div class="col-sm-12">
                                                <input type="text" class="form-control">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="panel-colorbox" style="display: none">
                                    <ul class="list-unstyled list-inline panel-color-list">
                                        <li><span data-widget-setstyle="panel-default"></span></li>
                                        <li><span data-widget-setstyle="panel-inverse"></span></li>
                                        <li><span data-widget-setstyle="panel-primary"></span></li>
                                        <li><span data-widget-setstyle="panel-success"></span></li>
                                        <li><span data-widget-setstyle="panel-warning"></span></li>
                                        <li><span data-widget-setstyle="panel-danger"></span></li>
                                        <li><span data-widget-setstyle="panel-info"></span></li>
                                        <li><span data-widget-setstyle="panel-brown"></span></li>
                                        <li><span data-widget-setstyle="panel-indigo"></span></li>
                                        <li><span data-widget-setstyle="panel-orange"></span></li>
                                        <li><span data-widget-setstyle="panel-midnightblue"></span></li>
                                        <li><span data-widget-setstyle="panel-sky"></span></li>
                                        <li><span data-widget-setstyle="panel-magenta"></span></li>
                                        <li><span data-widget-setstyle="panel-purple"></span></li>
                                        <li><span data-widget-setstyle="panel-green"></span></li>
                                        <li><span data-widget-setstyle="panel-grape"></span></li>
                                    </ul>
                                </div>
                                <div class="panel-body">
                                    <div id="calendar-drag"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6 bs-grid">
                    <div class="row">
                        <div class="col-md-12 bs-grid">
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="panel panel-default panel-btn-focused" id="p5">
                                        <div class="panel-heading">
                                            <h2>Live Dynamic</h2>
                                            <div class="panel-ctrls">
                                                <input type="checkbox" class="js-switch-success switchery-xs" checked id="live-dynamic-switch" />
                                                <i class="separator"></i>
                                            </div>
                                        </div>
                                        <div class="panel-editbox" style="display: none">
                                            <div class="form-horizontal">
                                                <div class="form-group">
                                                    <div class="col-sm-12">
                                                        <input type="text" class="form-control">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="panel-colorbox" style="display: none">
                                            <ul class="list-unstyled list-inline panel-color-list">
                                                <li><span data-widget-setstyle="panel-default"></span></li>
                                                <li><span data-widget-setstyle="panel-inverse"></span></li>
                                                <li><span data-widget-setstyle="panel-primary"></span></li>
                                                <li><span data-widget-setstyle="panel-success"></span></li>
                                                <li><span data-widget-setstyle="panel-warning"></span></li>
                                                <li><span data-widget-setstyle="panel-danger"></span></li>
                                                <li><span data-widget-setstyle="panel-info"></span></li>
                                                <li><span data-widget-setstyle="panel-brown"></span></li>
                                                <li><span data-widget-setstyle="panel-indigo"></span></li>
                                                <li><span data-widget-setstyle="panel-orange"></span></li>
                                                <li><span data-widget-setstyle="panel-midnightblue"></span></li>
                                                <li><span data-widget-setstyle="panel-sky"></span></li>
                                                <li><span data-widget-setstyle="panel-magenta"></span></li>
                                                <li><span data-widget-setstyle="panel-purple"></span></li>
                                                <li><span data-widget-setstyle="panel-green"></span></li>
                                                <li><span data-widget-setstyle="panel-grape"></span></li>
                                            </ul>
                                        </div>
                                        <div class="panel-body">
                                            <div id="server-load" style="height: 192px;"></div>
                                        </div>
                                    </div>

                                </div>
                            </div>
                            
                        </div>
                        <div class="col-md-12 bs-grid">
                            <div class="panel panel-default panel-btn-focused" id="p6">
                                <div class="panel-heading">
                                    <h2>Todo List</h2>
                                </div>
                                <div class="panel-editbox" style="display: none">
                                    <div class="form-horizontal">
                                        <div class="form-group">
                                            <div class="col-sm-12">
                                                <input type="text" class="form-control">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="panel-colorbox" style="display: none">
                                    <ul class="list-unstyled list-inline panel-color-list">
                                        <li><span data-widget-setstyle="panel-default"></span></li>
                                        <li><span data-widget-setstyle="panel-inverse"></span></li>
                                        <li><span data-widget-setstyle="panel-primary"></span></li>
                                        <li><span data-widget-setstyle="panel-success"></span></li>
                                        <li><span data-widget-setstyle="panel-warning"></span></li>
                                        <li><span data-widget-setstyle="panel-danger"></span></li>
                                        <li><span data-widget-setstyle="panel-info"></span></li>
                                        <li><span data-widget-setstyle="panel-brown"></span></li>
                                        <li><span data-widget-setstyle="panel-indigo"></span></li>
                                        <li><span data-widget-setstyle="panel-orange"></span></li>
                                        <li><span data-widget-setstyle="panel-midnightblue"></span></li>
                                        <li><span data-widget-setstyle="panel-sky"></span></li>
                                        <li><span data-widget-setstyle="panel-magenta"></span></li>
                                        <li><span data-widget-setstyle="panel-purple"></span></li>
                                        <li><span data-widget-setstyle="panel-green"></span></li>
                                        <li><span data-widget-setstyle="panel-grape"></span></li>
                                    </ul>
                                </div>
                                <div class="panel-body panel-no-padding panel-tasks">
                                    <h4 class="task-header">Pending Tasks</h4>
                                    <ul class="connectedSortable" id="sortable-tasks">
                                        <li class="item-warning">
                                            <span class="drag-handle">
                                                <div class="checkbox-inline icheck"><input type="checkbox"></div>
                                            </span>
                                            <p>
                                                Send project demo files to client
                                            </p>
                                            <a href="#" class="btn btn-xs btn-default task-options"><i class="fa fa-pencil"></i></a>
                                        </li>
                                        <li class="item-orange">
                                            <span class="drag-handle">
                                                <div class="checkbox-inline icheck"><input type="checkbox"></div>
                                            </span>
                                            <p>
                                                Sketch wireframes for new project and send it to client as soon as possible
                                            </p>
                                            <a href="#" class="btn btn-xs btn-default task-options"><i class="fa fa-pencil"></i></a>
                                        </li>
                                        <li class="">
                                            <span class="drag-handle">
                                                <div class="checkbox-inline icheck"><input type="checkbox"></div>
                                            </span>
                                            <p>
                                                Buy some milk
                                            </p>
                                            <a href="#" class="btn btn-xs btn-default task-options"><i class="fa fa-pencil"></i></a>
                                        </li>
                                        <li class="">
                                            <span class="drag-handle">
                                                <div class="checkbox-inline icheck"><input type="checkbox"></div>
                                            </span>
                                            <p>
                                                Prepare documentation for completed project
                                            </p>
                                            <a href="#" class="btn btn-xs btn-default task-options"><i class="fa fa-pencil"></i></a>
                                        </li>
                                        <li class="item-success">
                                            <span class="drag-handle">
                                                <div class="checkbox-inline icheck"><input type="checkbox"></div>
                                            </span>
                                            <p>
                                                Meeting with the development team
                                            </p>
                                            <a href="#" class="btn btn-xs btn-default task-options"><i class="fa fa-pencil"></i></a>
                                        </li>

                                    </ul>
                                    <h4 class="task-header"><i class="fa fa-check"></i> Completed Tasks</h4>
                                    <ul class="task-completed connectedSortable" id="completed-tasks">

                                        <li class="item-primary">
                                            <span class="drag-handle">
                                                <div class="checkbox-inline icheck"><input type="checkbox" checked></div>
                                                <span class="drag-image"></span>
                                            </span>
                                            <p>
                                                Assign tasks to designers
                                            </p>
                                            <a href="#" class="btn btn-xs btn-default task-options"><i class="fa fa-pencil"></i></a>
                                        </li>
                                        <li class="">
                                            <span class="drag-handle">
                                                <div class="checkbox-inline icheck"><input type="checkbox" checked></div>
                                                <span class="drag-image"></span>
                                            </span>
                                            <p>
                                                Set up a meeting with new client
                                            </p>
                                            <a href="#" class="btn btn-xs btn-default task-options"><i class="fa fa-pencil"></i></a>
                                        </li>

                                    </ul>
                                    <div class="tasks-footer clearfix">
                                        <a href="#" class="btn btn-sm btn-success"><i class="fa fa-plus"></i> <span class="hidden-xs">New</span></a>
                                        <a href="#" class="btn btn-sm btn-default"><i class="fa fa-check"></i> <span class="hidden-xs">Mark All Done</span></a>
                                        <a href="app-todo.html" class="btn-link btn-sm pull-right" style="padding-right: 0">Go to todo page</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>


    </div> <!-- .container-fluid -->
</div>

@section Js{
    <script src="~/Assets/plugins/fullcalendar/fullcalendar.min.js"></script>   			<!-- FullCalendar -->
    <!-- Charts -->
    <script src="~/Assets/plugins/charts-flot/jquery.flot.min.js"></script>             	<!-- Flot Main File -->
    <script src="~/Assets/plugins/charts-flot/jquery.flot.stack.min.js"></script>       	<!-- Flot Stacked Charts Plugin -->
    <script src="~/Assets/plugins/charts-flot/jquery.flot.orderBars.min.js"></script>   	<!-- Flot Ordered Bars Plugin-->
    <script src="~/Assets/plugins/charts-flot/jquery.flot.resize.min.js"></script>          <!-- Flot Responsive -->
    <script src="~/Assets/plugins/charts-flot/jquery.flot.tooltip.min.js"></script> 		<!-- Flot Tooltips -->
    <!-- Maps -->
    <script src="~/Assets/plugins/jQuery-Mapael/js/raphael/raphael-min.js"></script>        <!-- Load Raphael as Dependency -->
    <script src="~/Assets/plugins/jQuery-Mapael/js/jquery.mapael.js"></script>              <!-- jQuery Mapael -->
    <!-- <script src="assets/plugins/jQuery-mousewheel/jquery.mousewheel.min.js"></script> -->     <!-- Mousewheel Support in zoomed-in maps -->
    <script src="~/Assets/plugins/jQuery-Mapael/js/maps/world_countries.js"></script>       <!-- Vector Data of World Countries -->


    <script src="~/Assets/demo/demo-index.js"></script>
}
